var $, layer;
layui.use(['jquery', 'layer'], function () {
    $ = layui.jquery,
        layer = layui.layer;
    $('#productName').text($('#proName', window.parent.document).val())
    $('#id').text($('#proId', window.parent.document).val())
})